package Others.DesignPattern.StrategyPattern.Pattern;

import Others.DesignPattern.StrategyPattern.Pattern.Strategy.DiscountStrategy;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Context {

    private DiscountStrategy discountStrategy;

    public void getDiscountPrice()
    {
        discountStrategy.getDiscountPrice();
    }

}
